package jaxb;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "custList")
@XmlAccessorType(value = XmlAccessType.FIELD)
public class CustList {
	
	List<Customer> list = new ArrayList<Customer>();

	public List<Customer> getList() {
		return list;
	}

    @XmlElement(name="customer")
	public void setList(List<Customer> list) {
		this.list = list;
	}
	
}
